home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Deutsche Edition 1
/
Deutsche Edition 1.iso
/
amok
/
061-070
/
amok63
/
m2ced
/
txt.lha
/
Config.def
< prev
next >
Wrap
Text File
|
1991-11-13
|
2KB
|
73 lines
(**********************************************************************
:Program. Config.def
:Contents. Configuration of M2CED
:Author. Steffen Reith
:Address. Hessenstr. 64, D-8700 Wuerzburg
:Phone. None
:Copyright. Shareware
:Language. Modula-2
:Translator. M2Amiga A+L V4.096d
:Imports. req
:History. V1.0 18.June 1990
:History. V1.1 6 Nov. 1990
**********************************************************************)
(*$ StackParms:=FALSE Volatile:=FALSE CaseChk:=FALSE *)
(*$ StackChk:=FALSE RangeChk:=FALSE OverflowChk:=FALSE NilChk:=FALSE *)
DEFINITION MODULE Config;
FROM req IMPORT PathType;
CONST MaxWS=31;
MaxCM=63;
MaxName=32;
ConfigFile='S:M2CED.config';
WindowDefault='CON:0/11/500/100/';
ContMsgDefault='
Press ALT Return to continue
';
CompilerNameDefault='M2:m2c -d ';
LinkerNameDefault='M2:m2l ';
OptimizerNameDefault='M2:m2o ';
compileDefault=51;
linkDefault=40;
optDefault=24;
startDefault=33;
loadDefault=18;
findErrorDefault=23;
cancelDefault=69;
continueDefault=68;
TYPE WindowString=ARRAY[0..MaxWS] OF CHAR;
ContMsgString=ARRAY[0..MaxCM] OF CHAR;
NameString=ARRAY[0..MaxName] OF CHAR;
P=RECORD
Window:WindowString;
ContMsg:ContMsgString;
CompilerName,LinkerName,OptimizerName:NameString;
compileN,linkN,optN,startN:CARDINAL;
loadN,findErrorN,cancelN,continueN:CARDINAL;
END;
VAR Para:P;
PROCEDURE WriteFile(VAR File:PathType;OffSet:LONGINT);
(*:Input. Name of current file
:Input. Byteoffset of the cursor
:Semantic. Saves the name for later restart
:Note. Creates a file: s:M2CED.restart
*)
PROCEDURE ReadFile (VAR File:PathType;VAR OffSet:LONGINT);
(*:Output. Name of a file to be loaded
:Output. Byteoffset of the cursor
:Semantic. Gives you the name of a file
:Notes. Read from s:M2CED.restart
:Notes. See WriteFile
*)
END Config.